// import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import Particles from 'vue3-particles'
import './assets/iconfont/iconfont.css' //渲染iconfont
//注册武丽组件
import MyButton from './components/Canvas/MyButton.vue'
import MyText from './components/Canvas/MyText.vue'
import MyImage from './components/Canvas/MyImage.vue'
const app = createApp(App)

app.use(createPinia())
app.component('MyButton', MyButton)
app.component('MyText', MyText)
app.component('MyImage', MyImage)
app.use(router)
app.use(ElementPlus)
app.use(Particles)
app.mount('#app')
